package com.anpy.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
@TableName(value = "T_BILL_SECOND_CLASSIFY")
public class SecondClassifyEntity {
    @Id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(value = "classify_id")
    private Integer classifyId;

}
